FROM golang:latest

ENV GOPROXY https://goproxy.cn,direct

WORKDIR /go/app
COPY . /go/app

RUN go build .

EXPOSE 10027

ENTRYPOINT ["./main"]